#!/bin/bash
#
subnet=10.11.7.
for i in $(seq 254); do
   {
   ip=$subnet$i
  if ping -c 2 -W 1 $ip &> /dev/null; then
  echo "Host $ip is up"
  fi
 }&
done
wait
